/*
 * 打包组件入口
 */
import Vue from "vue";
import btnsAuth from '@/common/btnsAuth'
import store from './store'
import VueBus from './event-bus'
import FormMaking from "form-making-zwl";
import "form-making-zwl/FormMaking.css";
// 全局css样式
import "@/styles/index.scss";
Vue.use(VueBus);
Vue.use(FormMaking);
// 页面
import CustomList from "@/views/orderInteract/customList.vue"

window.CONFIG.btnState = btnsAuth
const components = [
  store,
  CustomList,
]
const ews = { // eslint-disable-line no-unused-vars
  install(Vue) { // eslint-disable-line no-unused-vars
    if (this.installed) {
      return
    }
    this.installed = true

    components.map(component => {
      Vue.component(component.name, component);
    })
  }
}

export default {
  version: '0.1.0',
  store,
  CustomList
}
